package com.yunhuakeji.wddx.control;

import java.io.InputStream;
import com.opensymphony.xwork2.ActionSupport;
import com.yunhuakeji.wddx.utils.ConfigReader;
import com.yunhuakeji.wddx.utils.ResultUtil;

public class ApproveController extends ActionSupport
{
	private static final long serialVersionUID = 1L;
	private InputStream inputStream;
	private String userid,function_name;
	
	public String getApprove(){
		inputStream = new ResultUtil().resultString(ConfigReader.GenerateParameter(userid, function_name));
		return SUCCESS;
	}

	public InputStream getInputStream()
	{
		return inputStream;
	}

	public void setInputStream(InputStream inputStream)
	{
		this.inputStream = inputStream;
	}

	public String getUserid()
	{
		return userid;
	}

	public void setUserid(String userid)
	{
		this.userid = userid;
	}

	public String getFunction_name()
	{
		return function_name;
	}

	public void setFunction_name(String function_name)
	{
		this.function_name = function_name;
	}
	
}
